package com.lzw.bluetoothpractice.Fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.lzw.bluetoothpractice.Activitys.NotificationActivity;
import com.lzw.bluetoothpractice.Adapters.UserReadMessageListAdapter;
import com.lzw.bluetoothpractice.Models.SendMessage;
import com.lzw.bluetoothpractice.Models._User;
import com.lzw.bluetoothpractice.R;

import java.util.ArrayList;
import java.util.List;

import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import cn.bmob.v3.BmobQuery;
import cn.bmob.v3.BmobUser;
import cn.bmob.v3.exception.BmobException;
import cn.bmob.v3.listener.FindListener;

public class RecomendDoctorFragment extends Fragment{
    View view;
    RecyclerView rcUserReadMsgList;
    UserReadMessageListAdapter userReadMessageListAdapter;
    LinearLayout iconBack;
    TextView tvtitle;
    ImageView iconSet;
    Button notice;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){
        view = inflater.inflate(R.layout.activity_messages_manage,null);
       // Toast.makeText(getActivity(),"Message发布成功啦！", Toast.LENGTH_SHORT).show();

        iconBack=(LinearLayout)view.findViewById(R.id.navBack);
        iconSet=(ImageView)view.findViewById(R.id.navSet);
        tvtitle=view.findViewById(R.id.tvTitle);

        InitView();

        return view;
    }
    private  void InitView(){

    }
    protected void InitNavBar(boolean isShowBack,String title,boolean isShowSet){
        iconBack.setVisibility(isShowBack ? View.VISIBLE : View.GONE);
        iconSet.setVisibility(isShowSet ? View.VISIBLE : View.GONE);
        tvtitle.setText(title);
    }
}
